package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务套餐管理对象 tb_service_package
 * 
 * @author hkj
 * @date 2024-09-10
 */
public class TbServicePackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐id */
    private Long packageId;

    /** 套餐名 */
    @Excel(name = "套餐名")
    private String packageName;

    /** 套餐价格（单月） */
    @Excel(name = "套餐价格", readConverterExp = "单=月")
    private String packagePrice;

    /** 状态(0下架，1上架) */
    @Excel(name = "状态(0下架，1上架)")
    private String packageStatus;

    /** 删除标识（0表示存在，2表示删除） */
    private String delFlag;

    /** 服务-套餐关联信息 */
    private List<TbServicePackageAssociation> tbServicePackageAssociationList;

    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setPackageName(String packageName) 
    {
        this.packageName = packageName;
    }

    public String getPackageName() 
    {
        return packageName;
    }
    public void setPackagePrice(String packagePrice) 
    {
        this.packagePrice = packagePrice;
    }

    public String getPackagePrice() 
    {
        return packagePrice;
    }
    public void setPackageStatus(String packageStatus) 
    {
        this.packageStatus = packageStatus;
    }

    public String getPackageStatus() 
    {
        return packageStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<TbServicePackageAssociation> getTbServicePackageAssociationList()
    {
        return tbServicePackageAssociationList;
    }

    public void setTbServicePackageAssociationList(List<TbServicePackageAssociation> tbServicePackageAssociationList)
    {
        this.tbServicePackageAssociationList = tbServicePackageAssociationList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packageId", getPackageId())
            .append("packageName", getPackageName())
            .append("packagePrice", getPackagePrice())
            .append("packageStatus", getPackageStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tbServicePackageAssociationList", getTbServicePackageAssociationList())
            .toString();
    }
}
